<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        ul {
            list-style: none;
        }

        body {
            min-width: 320px;
            max-width: 540px;
            margin: 0 auto;
        }

        header {
            width: 100%;
            height: 100px;
        }

        header img {
            width: 100%;
            height: 100%;
        }

        nav {
            padding: 5px;
        }

        nav .row:nth-child(2) {
            background-color: #3d98ff;
        }

        nav .row:nth-child(3) {
            background-color: #44c522;
        }

        nav .row:nth-child(4) {
            background-color: #fc9720;
        }

        .row {
            width: 100%;
            height: 99px;
            background-color: pink;
            border-radius: 8px;
            display: flex;
            background-color: #ff697a;
            margin-bottom: 5px;
        }

        .row3 {
            flex: 1;
            border-right: 1px solid #fff;
        }

        .row3:last-child {
            border: 0;
        }

        .hotel {
            display: flex;
            flex-direction: column;
        }

        .hotel a {
            flex: 1;
            text-align: center;
            text-decoration: none;
            line-height: 45px;
            color: white;
            font-size: 16px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

        }

        .hotel a {
            border-bottom: 1px solid #fff;
            border-right: 1px solid #fff;
        }
    </style>
</head>

<body>
    <header>
        <img src="https://pages.c-ctrip.com/hdz/zhibo/610xibei/%E3%80%90%E6%96%B0%E3%80%91%E5%A4%B4%E5%9B%BE.jpg"
            alt="">
    </header>
    <nav>
        <div class="row">
            <div class="row3">1</div>
            <div class="row3 hotel">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row3 hotel">
                <a href="#">团购</a>
                <a href="#">客栈</a>
            </div>
        </div>
        <div class="row">
            <div class="row3">1</div>
            <div class="row3 hotel">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row3 hotel">
                <a href="#">团购</a>
                <a href="#">客栈</a>
            </div>
        </div>
        <div class="row">
            <div class="row3">1</div>
            <div class="row3 hotel">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row3 hotel">
                <a href="#">团购</a>
                <a href="#">客栈</a>
            </div>
        </div>

        <div class="row">
            <div class="row3 hotel">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row3 hotel">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row3 hotel">
                <a href="#">团购</a>
                <a href="#">客栈</a>
            </div>
        </div>
    </nav>
</body>

</html>